#pragma once
class SimpleClass
{
public:
	SimpleClass(int d=0): data(d) { }
	
	
	SimpleClass& operator=(SimpleClass &o)
	{
		if (this == &o)
			return *this;

		data = o.getData();

		return *this;
	}

	bool operator<(SimpleClass &o)
	{
		return data < o.getData();
	}
	int getData() { return data; }
private:
	int data;
};

